﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wicresoft.EKA.CommonExtensions;

namespace Wicresoft.EKA.NRemedy
{
    public class ARLoginContextAndLastUsedTime : ICleanUpper
    {

        private DateTime _lastUsedTime;

        public DateTime LastUsedTime
        {
            get
            {
                return this._lastUsedTime;
            }
            set
            {
                this._lastUsedTime = value;
            }
        }

        private ARLoginContext _arLoginContext;

        public ARLoginContext LogInContext
        {

            get
            {
                return _arLoginContext;
            }
            set
            {
                this._arLoginContext = value;
            }


        }


        public void Dispose()
        {
            if (_arLoginContext != null)
            {
                _arLoginContext.Dispose();
            }
            _arLoginContext = null;
        }
    }
}
